diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/page.tsx | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/page.tsx index 1a337cc9..e83696ce 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/pq-criteria/page.tsx @@ -7,14 +7,18 @@ import { searchParamsCache } from "@/lib/pq/validations" import { getPQLists } from "@/lib/pq/service"
import { PqListsTable } from "@/lib/pq/table/pq-lists-table"
import { getProjects } from "@/lib/pq/service"
+import { useTranslation } from "@/i18n"
interface ProjectPageProps {
+ params: Promise<{ lng: string }>
searchParams: Promise<SearchParams>
}
export default async function ProjectPage(props: ProjectPageProps) {
const searchParams = await props.searchParams
const search = searchParamsCache.parse(searchParams)
+ const {lng} = await props.params
+ const {t} = await useTranslation(lng, 'menu')
// filters가 없는 경우를 처리
const validFilters = getValidFilters(search.filters)
@@ -33,7 +37,7 @@ export default async function ProjectPage(props: ProjectPageProps) { <div className="flex items-center justify-between">
<div>
<h2 className="text-2xl font-bold tracking-tight">
- PQ 리스트 관리
+ {t('menu.master_data.pq_criteria')}
</h2>
{/* <p className="text-muted-foreground">
협력업체 등록을 위한, 협력업체가 제출할 PQ 항목을: 프로젝트별로 관리할 수 있습니다.
|
